package com.liveneo.stoat.sys.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.liveneo.stoat.common.service.BaseService;
import com.liveneo.stoat.sys.entity.PrpmRole;
import com.liveneo.stoat.sys.mapper.PrpmRoleMapper;

@Service
public class RoleService extends BaseService<PrpmRoleMapper, PrpmRole>{

	/**
	 * 
	 * @throws Exception 
	 * @Description: 批量删除角色
	 * @Since:2017年2月15日 上午11:29:30 
	 * @Author:hjt
	 */
	public boolean deleteByIds(List<String> idList) throws Exception {
		return this.mapper.deleteByIds(idList) > 0;
	}

}
